package result;

import burp.IHttpRequestResponse;

import java.net.URL;

/**
 * Created by td on 2017/6/30.
 */
public class AttackResult {
    private String sqlInjectType;
    private URL url;
    private String insertParam;
    private String pageNomalPayload;
    private String pageAbNomalPayload;
    private IHttpRequestResponse baseHttpResponse;


    public AttackResult(URL url,String sqlInjectType,String insertParam,String pageNomalPayload,String pageAbNomalPayload,IHttpRequestResponse baseHttpResponse) {
        this.sqlInjectType = sqlInjectType;
        this.url  = url;
        this.insertParam = insertParam;
        this.pageNomalPayload = pageNomalPayload;
        this.pageAbNomalPayload = pageAbNomalPayload;
        this.baseHttpResponse = baseHttpResponse;
    }

    public AttackResult() {
    }

    public String getSqlInjectType() {
        return sqlInjectType;
    }

    public void setSqlInjectType(String sqlInjectType) {
        this.sqlInjectType = sqlInjectType;
    }

    public URL getUrl() {
        return this.url;
    }

    public void setUrl(URL url) {
        this.url = url;
    }

    public String getPageNomalPayload() {
        return pageNomalPayload;
    }

    public void setPageNomalPayload(String pageNomalPayload) {
        this.pageNomalPayload = pageNomalPayload;
    }

    public String getPageAbNomalPayload() {
        return pageAbNomalPayload;
    }

    public void setPageAbNomalPayload(String pageAbNomalPayload) {
        this.pageAbNomalPayload = pageAbNomalPayload;
    }

    public IHttpRequestResponse getBaseHttpResponse() {
        return baseHttpResponse;
    }

    public String getInsertParam() {
        return insertParam;
    }

    public void setInsertParam(String insertParam) {
        this.insertParam = insertParam;
    }

    public void setBaseHttpResponse(IHttpRequestResponse baseHttpResponse) {
        this.baseHttpResponse = baseHttpResponse;
    }
}
